﻿
<%@ Page Language="C#" Theme="Default" MasterPageFile="~/MasterPages/admin.master" AutoEventWireup="true"  CodeFile="SshUtenzeGas.aspx.cs" Inherits="SshUtenzeGas" Title="SshUtenzeGas List" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">Ssh Utenze Gas List</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
		<data:GridViewSearchPanel ID="GridViewSearchPanel1" runat="server" GridViewControlID="GridView1" PersistenceMethod="Session" />
		<br />
		<data:EntityGridView ID="GridView1" runat="server"			
				AutoGenerateColumns="False"					
				OnSelectedIndexChanged="GridView1_SelectedIndexChanged"
				DataSourceID="SshUtenzeGasDataSource"
				DataKeyNames="CdMeseInizioFornitura, CdPuntoFornitura"
				AllowMultiColumnSorting="false"
				DefaultSortColumnName="" 
				DefaultSortDirection="Ascending"	
				ExcelExportFileName="Export_SshUtenzeGas.xls"  		
			>
			<Columns>
				<asp:CommandField ShowSelectButton="True" ShowEditButton="True" />				
				<asp:BoundField DataField="SAreaUscita" HeaderText="S Area Uscita" SortExpression="[S_AREA_USCITA]"  />
				<asp:BoundField DataField="CdMeseInizioFornitura" HeaderText="Cd Mese Inizio Fornitura" SortExpression="[CD_MESE_INIZIO_FORNITURA]" ReadOnly />
				<asp:BoundField DataField="CdCliente" HeaderText="Cd Cliente" SortExpression="[CD_CLIENTE]"  />
				<asp:BoundField DataField="DsCliente" HeaderText="Ds Cliente" SortExpression="[DS_CLIENTE]"  />
				<asp:BoundField DataField="CdAteco" HeaderText="Cd Ateco" SortExpression="[CD_ATECO]"  />
				<asp:BoundField DataField="CdPuntoFornitura" HeaderText="Cd Punto Fornitura" SortExpression="[CD_PUNTO_FORNITURA]" ReadOnly />
				<asp:BoundField DataField="CdPool" HeaderText="Cd Pool" SortExpression="[CD_POOL]"  />
				<asp:BoundField DataField="CdComune" HeaderText="Cd Comune" SortExpression="[CD_COMUNE]"  />
				<asp:BoundField DataField="ConsumoAnnuoStimato" HeaderText="Consumo Annuo Stimato" SortExpression="[CONSUMO_ANNUO_STIMATO]"  />
				<asp:BoundField DataField="CdPrelievoAeeg" HeaderText="Cd Prelievo Aeeg" SortExpression="[CD_PRELIEVO_AEEG]"  />
				<asp:BoundField DataField="CdTraderPrecedente" HeaderText="Cd Trader Precedente" SortExpression="[CD_TRADER_PRECEDENTE]"  />
				<asp:BoundField DataField="CdStatoPunto" HeaderText="Cd Stato Punto" SortExpression="[CD_STATO_PUNTO]"  />
			</Columns>
			<EmptyDataTemplate>
				<b>No SshUtenzeGas Found!</b>
			</EmptyDataTemplate>
		</data:EntityGridView>
		<br />
		<asp:Button runat="server" ID="btnSshUtenzeGas" OnClientClick="javascript:location.href='SshUtenzeGasEdit.aspx'; return false;" Text="Add New"></asp:Button>
		<data:SshUtenzeGasDataSource ID="SshUtenzeGasDataSource" runat="server"
			SelectMethod="GetPaged"
			EnablePaging="True"
			EnableSorting="True"
		>
			<Parameters>
				<data:CustomParameter Name="WhereClause" Value="" ConvertEmptyStringToNull="false" />
				<data:CustomParameter Name="OrderByClause" Value="" ConvertEmptyStringToNull="false" />
				<asp:ControlParameter Name="PageIndex" ControlID="GridView1" PropertyName="PageIndex" Type="Int32" />
				<asp:ControlParameter Name="PageSize" ControlID="GridView1" PropertyName="PageSize" Type="Int32" />
				<data:CustomParameter Name="RecordCount" Value="0" Type="Int32" />
			</Parameters>
		</data:SshUtenzeGasDataSource>
	    		
</asp:Content>



